package com.example.normaldemo.recycleView;

import android.widget.AdapterView;

import com.example.normaldemo.R;

import java.util.Collection;

public class RefreshAdapter extends BaseAdapter<String> {

    public RefreshAdapter(int layoutId) {
        super(layoutId);
    }

    public RefreshAdapter(Collection<String> collection, int layoutId) {
        super(collection, layoutId);
    }

    public RefreshAdapter(Collection<String> collection, int layoutId, AdapterView.OnItemClickListener listener) {
        super(collection, layoutId, listener);
    }

    @Override
    protected void onBindViewHolder(CommonViewHolder holder, String model, int position) {
        System.out.println(model);
        holder.text(R.id.tv_content, model);
    }
}
